(ldap-search-internal): Unfold folded lines before parsing.
authorPavel Janík <Pavel@Janik.cz>
Sun, 12 May 2002 16:41:20 +0000 (16:41 +0000)
committerPavel Janík <Pavel@Janik.cz>
Sun, 12 May 2002 16:41:20 +0000 (16:41 +0000)
lisp/net/ldap.el

index 03923eb4114289685e4c9b44025760a1cb04c8be..d539164e9f9ad7c14e91fa4801022ca6f321737d 100644 (file)
@@ -562,6 +562,10 @@ an alist of attribute/value pairs."
       (insert "\n")
       (goto-char (point-min))
 
+      (while (re-search-forward "[\t\n\f]+ " nil t)
+       (replace-match "" nil nil))
+      (goto-char (point-min))
+
       (if (looking-at "usage")
          (error "Incorrect ldapsearch invocation")
        (message "Parsing results... ")